package cn.vortex.device.dao;

import cn.vortex.device.vo.Device;

public interface DeviceDao extends BaseDao<Device,Integer> {

    /**
     * 通过id和经办人姓名删除数据
     * @param id
     * @param user
     * @return
     * @throws Exception
     */
    int deleteByIdAndUser(Integer id, String user) throws Exception;
}
